package test01;

/**
 * @author zhu
 * @date 2024-03-21
 */
public class WindowThread extends Thread{
    private Film film;
    public WindowThread() {
    }
    public WindowThread(Film film,String threadName){
        super(threadName);
        this.film = film;
    }
    @Override
    public void run() {
        this.film.sell();
    }
}
